package GameItem.Direction
{
	import flash.display.DisplayObject;

	import GameItem.IGameItem;
	
	import Model.Constants;
	
	internal class UpDirection extends Direction
	{
		
		public function UpDirection()
		{
			super();
		}
		protected override function moveItemToTarget(gameItem:IGameItem):void
		{
			gameItem.displayObject.y-=Constants.GRID_HEIGHT;
			gameItem.grid.y--;
		}
	}
}